<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>PSM同校任务共享互助平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="fly,layui,前端社区">
    <meta http-equiv=X-UA-Compatible content="IE=edge">
    <meta name="description" content="Fly社区是模块化前端UI框架Layui的官网社区，致力于为web开发提供强劲动力">
    <link rel="stylesheet" href="../../res/layui/css/layui.css">
    <link rel="stylesheet" href="../../res/css/global.css">
    <script src="../../json/vue.min.js"></script>
    <script src="../../json/axios.min.js"></script>
</head>
<body>

<div id="headerpage"></div>

<div class="fly-panel fly-column">
    <div class="layui-container">
        <ul class="layui-clear">
            <li><a href="index.html">首页</a></li>
            <li class="layui-hide-xs layui-this"><a href="task.html">任务</a></li>
            <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li>

            <!-- 用户登入后显示 -->
<!--            <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="../user/index.html">我发布的任务</a>-->
<!--            </li>-->
<!--            <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="../user/index.html#collection">我关注的任务</a>-->
<!--            </li>-->
        </ul>

        <div class="fly-column-right layui-hide-xs">
<!--            <span class="fly-search"><i class="layui-icon"></i></span>-->
            <a href="../user/add.html" class="layui-btn">发表任务</a>
        </div>
        <div class="layui-hide-sm layui-show-xs-block"
             style="margin-top: -10px; padding-bottom: 10px; text-align: center;">
            <a href="../user/add.html" class="layui-btn">发表任务</a>
        </div>
    </div>
</div>

<div class="layui-container">
    <div class="layui-row layui-col-space15" id="task">
        <div class="layui-col-md8" >
            <div class="fly-panel" style="margin-bottom: 0;">

                <div class="fly-panel-title fly-filter">
                    <a href="" class="layui-this" @click="getMissionByLabel()">综合</a>
                    <span class="fly-mid"></span>
                    <a @click="getMissionByLabel('IT/软件')">IT/软件</a>
                    <span class="fly-mid"></span>
                    <a @click="getMissionByLabel('社团')">社团</a>
                    <span class="fly-mid"></span>
                    <a @click="getMissionByLabel('宠物')">宠物</a>
                    <span class="fly-mid"></span>
                    <a @click="getMissionByLabel('二手物品')">二手物品</a>
                    <span class="fly-mid"></span>
                    <a @click="getMissionByLabel('实习')">实习</a>
                    <span class="fly-mid"></span>
                    <a @click="getMissionByLabel('家教')">家教</a>
                    <span class="fly-mid"></span>
                    <a @click="getMissionByLabel('其他')">其他</a>
                    <span class="fly-filter-right layui-hide-xs">
<!--            <a href="" class="layui-this">按最新</a>-->
<!--            <span class="fly-mid"></span>-->
<!--            <a href="">按热议</a>-->
          </span>
                </div>

                <ul class="fly-list">
                    <li v-for="mission in missions">
                        <a href="../user/home.html" class="fly-avatar">
                            <img src="../../res/images/mission.jpg"
                                 alt="贤心">
                        </a>
                        <h2>
                            <a class="layui-badge">任务</a>
                            <a v-on:click="goDetail(mission)">{{mission.title}}</a>
                        </h2>
                        <div class="fly-list-info">
                            <a href="../user/home.html" link>
<!--                                <cite>贤心</cite>-->
                                <!--
                                <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>
                                <i class="layui-badge fly-badge-vip">VIP3</i>
                                -->
                            </a>
                            <span>{{mission.postTime}}-{{mission.endTime}}</span>

                            <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻">金额 {{mission.money}}</span>
                            <!--<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>-->
                            <span class="fly-list-nums">
<!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
              </span>
                        </div>
                        <div class="fly-list-badge">
                            <!--              <span class="layui-badge layui-bg-black">置顶</span>-->
                            <span class="layui-badge layui-bg-red">精帖</span>
                        </div>
                    </li>
                    <!--          <li>-->
                    <!--            <a href="../user/home.html" class="fly-avatar">-->
                    <!--              <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">-->
                    <!--            </a>-->
                    <!--            <h2>-->
                    <!--              <a class="layui-badge">任务</a>-->
                    <!--              <a href="detail.html">PSM同校任务共享互助平台</a>-->
                    <!--            </h2>-->
                    <!--            <div class="fly-list-info">-->
                    <!--              <a href="../user/home.html" link>-->
                    <!--                <cite>贤心</cite>-->
                    <!--                &lt;!&ndash;<i class="iconfont icon-renzheng" title="认证信息：XXX"></i>&ndash;&gt;-->
                    <!--                <i class="layui-badge fly-badge-vip">VIP3</i>-->
                    <!--              </a>-->
                    <!--              <span>2020.5.20-2021.6.20</span>-->
                    <!--              -->
                    <!--              <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>-->
                    <!--              &lt;!&ndash;<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>&ndash;&gt;-->
                    <!--              <span class="fly-list-nums"> -->
                    <!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
                    <!--              </span>-->
                    <!--            </div>-->
                    <!--          </li>-->
                    <!--          <li>-->
                    <!--            <a href="../user/home.html" class="fly-avatar">-->
                    <!--              <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">-->
                    <!--            </a>-->
                    <!--            <h2>-->
                    <!--              <a class="layui-badge">任务</a>-->
                    <!--              <a href="detail.html">PSM同校任务共享互助平台</a>-->
                    <!--            </h2>-->
                    <!--            <div class="fly-list-info">-->
                    <!--              <a href="../user/home.html" link>-->
                    <!--                <cite>贤心</cite>-->
                    <!--                &lt;!&ndash;-->
                    <!--                <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
                    <!--                <i class="layui-badge fly-badge-vip">VIP3</i>-->
                    <!--                &ndash;&gt;-->
                    <!--              </a>-->
                    <!--              <span>2020.5.20-2021.6.20</span>-->
                    <!--              -->
                    <!--              <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>-->
                    <!--              &lt;!&ndash;<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>&ndash;&gt;-->
                    <!--              <span class="fly-list-nums"> -->
                    <!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
                    <!--              </span>-->
                    <!--            </div>-->
                    <!--            <div class="fly-list-badge">-->
                    <!--              &lt;!&ndash;<span class="layui-badge layui-bg-red">精帖</span>&ndash;&gt;-->
                    <!--            </div>-->
                    <!--          </li>-->
                    <!--          <li>-->
                    <!--            <a href="../user/home.html" class="fly-avatar">-->
                    <!--              <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">-->
                    <!--            </a>-->
                    <!--            <h2>-->
                    <!--              <a class="layui-badge">任务</a>-->
                    <!--              <a href="detail.html">PSM同校任务共享互助平台</a>-->
                    <!--            </h2>-->
                    <!--            <div class="fly-list-info">-->
                    <!--              <a href="../user/home.html" link>-->
                    <!--                <cite>贤心</cite>-->
                    <!--                &lt;!&ndash;-->
                    <!--                <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
                    <!--                <i class="layui-badge fly-badge-vip">VIP3</i>-->
                    <!--                &ndash;&gt;-->
                    <!--              </a>-->
                    <!--              <span>2020.5.20-2021.6.20</span>-->
                    <!--              -->
                    <!--              <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>-->
                    <!--              &lt;!&ndash;<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>&ndash;&gt;-->
                    <!--              <span class="fly-list-nums"> -->
                    <!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
                    <!--              </span>-->
                    <!--            </div>-->
                    <!--            <div class="fly-list-badge">-->
                    <!--              &lt;!&ndash;<span class="layui-badge layui-bg-red">精帖</span>&ndash;&gt;-->
                    <!--            </div>-->
                    <!--          </li>-->
                    <!--          <li>-->
                    <!--            <a href="../user/home.html" class="fly-avatar">-->
                    <!--              <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">-->
                    <!--            </a>-->
                    <!--            <h2>-->
                    <!--              <a class="layui-badge">任务</a>-->
                    <!--              <a href="detail.html">PSM同校任务共享互助平台</a>-->
                    <!--            </h2>-->
                    <!--            <div class="fly-list-info">-->
                    <!--              <a href="../user/home.html" link>-->
                    <!--                <cite>贤心</cite>-->
                    <!--                &lt;!&ndash;-->
                    <!--                <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
                    <!--                <i class="layui-badge fly-badge-vip">VIP3</i>-->
                    <!--                &ndash;&gt;-->
                    <!--              </a>-->
                    <!--              <span>2020.5.20-2021.6.20</span>-->
                    <!--              -->
                    <!--              <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>-->
                    <!--              &lt;!&ndash;<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>&ndash;&gt;-->
                    <!--              <span class="fly-list-nums"> -->
                    <!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
                    <!--              </span>-->
                    <!--            </div>-->
                    <!--            <div class="fly-list-badge">-->
                    <!--              &lt;!&ndash;<span class="layui-badge layui-bg-red">精帖</span>&ndash;&gt;-->
                    <!--            </div>-->
                    <!--          </li>-->
                    <!--          <li>-->
                    <!--            <a href="../user/home.html" class="fly-avatar">-->
                    <!--              <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">-->
                    <!--            </a>-->
                    <!--            <h2>-->
                    <!--              <a class="layui-badge">任务</a>-->
                    <!--              <a href="detail.html">PSM同校任务共享互助平台</a>-->
                    <!--            </h2>-->
                    <!--            <div class="fly-list-info">-->
                    <!--              <a href="../user/home.html" link>-->
                    <!--                <cite>贤心</cite>-->
                    <!--                &lt;!&ndash;-->
                    <!--                <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
                    <!--                <i class="layui-badge fly-badge-vip">VIP3</i>-->
                    <!--                &ndash;&gt;-->
                    <!--              </a>-->
                    <!--              <span>2020.5.20-2021.6.20</span>-->
                    <!--              -->
                    <!--              <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>-->
                    <!--              &lt;!&ndash;<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>&ndash;&gt;-->
                    <!--              <span class="fly-list-nums"> -->
                    <!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
                    <!--              </span>-->
                    <!--            </div>-->
                    <!--            <div class="fly-list-badge">-->
                    <!--              &lt;!&ndash;<span class="layui-badge layui-bg-red">精帖</span>&ndash;&gt;-->
                    <!--            </div>-->
                    <!--          </li>-->
                    <!--          <li>-->
                    <!--            <a href="../user/home.html" class="fly-avatar">-->
                    <!--              <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">-->
                    <!--            </a>-->
                    <!--            <h2>-->
                    <!--              <a class="layui-badge">任务</a>-->
                    <!--              <a href="detail.html">PSM同校任务共享互助平台</a>-->
                    <!--            </h2>-->
                    <!--            <div class="fly-list-info">-->
                    <!--              <a href="../user/home.html" link>-->
                    <!--                <cite>贤心</cite>-->
                    <!--                &lt;!&ndash;-->
                    <!--                <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
                    <!--                <i class="layui-badge fly-badge-vip">VIP3</i>-->
                    <!--                &ndash;&gt;-->
                    <!--              </a>-->
                    <!--              <span>2020.5.20-2021.6.20</span>-->
                    <!--              -->
                    <!--              <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>-->
                    <!--              &lt;!&ndash;<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>&ndash;&gt;-->
                    <!--              <span class="fly-list-nums"> -->
                    <!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
                    <!--              </span>-->
                    <!--            </div>-->
                    <!--            <div class="fly-list-badge">-->
                    <!--              &lt;!&ndash;<span class="layui-badge layui-bg-red">精帖</span>&ndash;&gt;-->
                    <!--            </div>-->
                    <!--          </li>-->
                    <!--          <li>-->
                    <!--            <a href="../user/home.html" class="fly-avatar">-->
                    <!--              <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">-->
                    <!--            </a>-->
                    <!--            <h2>-->
                    <!--              <a class="layui-badge">任务</a>-->
                    <!--              <a href="detail.html">PSM同校任务共享互助平台</a>-->
                    <!--            </h2>-->
                    <!--            <div class="fly-list-info">-->
                    <!--              <a href="../user/home.html" link>-->
                    <!--                <cite>贤心</cite>-->
                    <!--                &lt;!&ndash;-->
                    <!--                <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>-->
                    <!--                <i class="layui-badge fly-badge-vip">VIP3</i>-->
                    <!--                &ndash;&gt;-->
                    <!--              </a>-->
                    <!--              <span>2020.5.20-2021.6.20</span>-->
                    <!--              -->
                    <!--              <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>-->
                    <!--              &lt;!&ndash;<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>&ndash;&gt;-->
                    <!--              <span class="fly-list-nums"> -->
                    <!--                <i class="iconfont icon-pinglun1" title="回答"></i> 66-->
                    <!--              </span>-->
                    <!--            </div>-->
                    <!--            <div class="fly-list-badge">-->
                    <!--              &lt;!&ndash;<span class="layui-badge layui-bg-red">精帖</span>&ndash;&gt;-->
                    <!--            </div>-->
                    <!--          </li>-->
                </ul>

                <!-- <div class="fly-none">没有相关数据</div> -->

                <div style="text-align: center">
                    <div class="laypage-main">
                        <a v-for="i in pageNum" @click="selectPage(i)">{{i}}</a>
                    </div>
                </div>

            </div>
        </div>
        <div class="layui-col-md4">
            <dl class="fly-panel fly-list-one">
                <dt class="fly-panel-title">金额排行榜</dt>
                <dd v-for="mission in money_missions">
                    <a @click="goDetail(mission)">{{mission.title}}</a>
                </dd>
            </dl>

            <div class="fly-panel">
                <div class="fly-panel-title">
                    这里可作为广告区域
                </div>
                <div class="fly-panel-main">
                    <a href="" target="_blank" class="fly-zanzhu" style="background-color: #393D49;">虚席以待</a>
                </div>
            </div>

            <div class="fly-panel fly-link">
                <h3 class="fly-panel-title">友情链接</h3>
                <dl class="fly-panel-main">
                    <dd><a href="http://www.layui.com/" target="_blank">友元网站a</a>
                    <dd>
                    <dd><a href="http://layim.layui.com/" target="_blank">友元网站b</a>
                    <dd>
                    <dd><a href="http://layer.layui.com/" target="_blank">友元网站c</a>
                    <dd>
                    <dd><a href="http://www.layui.com/laydate/" target="_blank">友元网站d</a>
                    <dd>
                    <dd>
                        <a href="mailto:xianxin@layui-inc.com?subject=%E7%94%B3%E8%AF%B7Fly%E7%A4%BE%E5%8C%BA%E5%8F%8B%E9%93%BE"
                           class="fly-link">申请友链</a>
                    <dd>
                </dl>
            </div>

        </div>
    </div>
</div>

<div class="fly-footer">
    <p>这里是PSM社区</p>
    <p>
        欢迎您的加入
    </p>
</div>

<script src="../../res/layui/layui.js"></script>
<script src="../../json/jquery.min.js"></script>
<script src="../../json/index/task.js"></script>
<script>
    $(function(){
        //公共部分导航栏
        $("#headerpage").load("../common/header.html");
    });
</script>
<script>

</script>

</body>
</html>

